<extend name="Public:base" />
<block name="left">
   	<ul class=" ">
		<li class=""><a href="{:U('Person/so')}">我的搜索词</a></li>
		<li class=""><a href="{:U('Person/myzd')}">我的置顶</a></li>
		<li class=""><a href="{:U('Person/myad')}">我的广告</a></li>
		<li class=""><a href=""></a></li>
		<li class=""><a href=""></a></li>
		<li class=""><a href=""></a></li>
		<li class=""><a href=""></a></li>
	
	</ul>
</block>
<block name="right">

<div class="ziliao">
    <table class="am-table">
        <thead>
            <th>编号</th>
            <th>关联词</th>
            <th>广告位置</th>
            <th>广告标题</th>
            <th>广告图片</th>
            <th>点击数量</th>
            <th>投诉数量</th>
            <th>状态</th>
            <th>操作</th>
        
        </thead>
        <tbody>
            <foreach name="ad_list" item="vo">
                <tr>
                    <td>{$vo.ad_id}</td>
                    <td>{$vo.cat_name}</td>
                	<td>{$vo.position}</td>
                	<td>{$vo.title}</td>
                    <td><img src="__SLOGO__/{$vo.img_url}" style="width:100px;height:80px;"/></td>
                    <td>{$vo.click_count}</td>
                    <td>{$vo.complain_count}</td>
                    <td>{$vo.last_date}</td>
                    <td><if condition="$vo[type] neq 1"><a href="{:U('Ad/edit',array('ad_id'=>$vo[ad_id]))}">续费</a><else/>-</if></td>
                </tr>
            </foreach>
        </tbody>
        <tfoot>
	
	</tfoot>
    </table> 

     <div class="pagekw" style="margin-top: -45px;">{$page}</div>
</div>   
</block>